/*
 * @Author: humengchuan 531537052@qq.com
 * @Date: 2025-01-04 19:38:11
 * @LastEditors: humengchuan 531537052@qq.com
 * @LastEditTime: 2025-01-14 14:37:07
 * @FilePath: \project-my\vue-mall\src\main.ts
 * @Description: 
 */
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
// import './style.css'
import 'normalize.css/normalize.css'
import App from './App.vue'
import router from './router'
import { lazyPlugin } from '@/directives'
import { componentPlugin } from '@/components'


const pinia = createPinia()
const app = createApp(App)


app.use(lazyPlugin)
app.use(componentPlugin)
app.use(router)
app.use(pinia)
pinia.use(piniaPluginPersistedstate)
app.mount('#app')
